*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 5.33333vw;
}
body{
    background-color: #f1f1f1f1;
}
header{
    .h-d1{
        display: grid;
        height: 44px;
        width: 18.75rem;
        grid-template-columns: 40px auto 40px;
        background-color: red;
        div:nth-child(1){
            img{
                width: 20px;
                height: 18px;
                margin-top: 14px;
                margin-left: 15px;
            }
        }
        div:nth-child(2){
            div:nth-child(1){
                img{
                    width: 20px;
                    height: 15px;
                    position: relative;
                    top: -7px;   
                }
                border-radius: 30px;
                background-color: white;
                height: 30px;
                position: relative;
                top: 7px;
                .bj1{
                    display: inline-block;
                    height: 30px;
                    width: 23px;
                    // border: 1px solid red;
                    background-size: 200px 200px;
                    background-position-x: -79px;
                    background-position-y: 8px;
                    background-image: url(../imagesJD/4.png);
                    background-repeat: no-repeat;
                }
                input{
                    height: 20px;
                    width: auto;
                    border: none;
                    padding-left: 8px;
                    position: relative;
                    top: -10px;
                    border-left: 1px solid rgb(235, 233, 233);
                }
            }
        }
        div:nth-child(3){
            font-size: 14px;
            a{
                display: block;
                margin-top: 12px;
                color: white;
                text-decoration: none;
            }
        }
    }
    .h-d2{
        width: 18.75rem;
        height: 8.375rem;
        // background-color: paleturquoise;
        .h-d2-d1{
            width: 18.75rem;
            height: 5.25rem;
            border-bottom-left-radius: 20%;
            border-bottom-right-radius: 20%;
            background-color: red;
            z-index: 0;
            .h-d2-d1-d1{
                width: 17.5rem;
                height: 7rem;
                // background-color: aqua;
                z-index: 1;
                position: relative;
                left: .55rem;
                .lunbo{
                    height: 7rem;
                    width: 143rem;
                    border-radius: .25rem;
                    position: absolute;
                    overflow: hidden;
                    animation: lb 10s 1s infinite ;
                    // animation-timing-function: steps(8);
                    img{
                        height: 7rem;
                        width: 17.5rem;
                        border-radius: .25rem;
                    }
                    @keyframes lb {
                        0%{
                            margin-left: 0rem;
                        }
                        12%{
                            margin-left: -17.5rem;
                        }
                        25%{
                            margin-left: -35rem;
                        }
                        37%{
                            margin-left: -52.5rem;
                        }
                        50%{
                            margin-left: -70rem;
                        }
                        62%{
                            margin-left: -87.5rem;
                        }
                        75%{
                            margin-left: -105rem;
                        }
                        100%{
                            margin-left: -122.5rem;
                        }
                    }
                }

            }
        }
    }
    nav{
        display: grid;
        width: 18.75rem;
        height: 8.1rem;
        grid-template-columns: repeat(5,3.75rem);
        grid-template-rows: repeat(2,3.65rem);
        div{
            a{
                text-decoration: none;
                color: #666;
                img{
                    width: 2rem;
                    height: 2rem;
                    margin-top: .5rem;
                    margin-left: .8rem;
                }
                span{
                    font-size: .6rem;
                    margin-top: .3rem;
                    text-align: center;
                    display: block;
                }
            }
        }
    }
}
section{
    width: 18.75rem;
    aside{
        width: 17.75rem;
        height: 6.95rem;
        border-radius: .25rem;
        margin: auto;
        display: grid;
        gap: .1rem;
        grid-template-columns: repeat(6,2.85rem);
        grid-auto-rows: 1.75rem 2.75rem 1.95rem;
        background-color: white;
        .hb1{
            grid-column: 1\7;
        }
        img{
            width: 99%;
            height: 100%;
        }
        .s-a-d-p1{
            color: red;
            font-size: .65rem;
            text-align: center;
            span{
                font-size: .55rem;
                padding-right: .1rem;
            }
        }
        .s-a-d-p2{
            color: #999;
            font-size: .6rem;
            text-align: center;
            text-decoration: line-through;
            span{
                font-size: .65rem;
            }
        }
    }
}